evtchn: use a per-domain variable for the max number of event channels
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 14 Oct 2013 08:18:24 +0000 (10:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Oct 2013 08:18:24 +0000 (10:18 +0200)
commit48974e6ce52ee21e08d0e621611371dc05624bbc
tree16e17bfaab58a77a9b6fa55c7312c41fda977d5d
parent611d0ecc81bf948f6f9c592afdd6c2aebcfaaadb
evtchn: use a per-domain variable for the max number of event channels

Instead of the MAX_EVTCHNS(d) macro, use d->max_evtchns instead.  This
avoids having to repeatedly check the ABI type.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/event_2l.c
xen/common/event_channel.c
xen/common/schedule.c
xen/include/xen/event.h
xen/include/xen/sched.h